package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;

public class Goods {
    @ApiModelProperty(value = "商品id")
    private Integer goodsid;

    @ApiModelProperty(value = "商品类别id")
    private Integer typeid;

    @ApiModelProperty(value = "商品名称")
    private String goodsname;

    @ApiModelProperty(value = "商品数量")
    private Integer goodsnum;

    @ApiModelProperty(value = "商品展示图片")
    private String goodsimg;

    @ApiModelProperty(value = "商品类型")
    private String goodstype;

    public Goods(Integer goodsid, Integer typeid, String goodsname, Integer goodsnum, String goodsimg, String goodstype) {
        this.goodsid = goodsid;
        this.typeid = typeid;
        this.goodsname = goodsname;
        this.goodsnum = goodsnum;
        this.goodsimg = goodsimg;
        this.goodstype = goodstype;
    }

    public Goods() {
        super();
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname == null ? null : goodsname.trim();
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public String getGoodsimg() {
        return goodsimg;
    }

    public void setGoodsimg(String goodsimg) {
        this.goodsimg = goodsimg == null ? null : goodsimg.trim();
    }

    public String getGoodstype() {
        return goodstype;
    }

    public void setGoodstype(String goodstype) {
        this.goodstype = goodstype == null ? null : goodstype.trim();
    }
}